package org.dromara.germbank.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.germbank.domain.BusApplicationResource;
import org.dromara.germbank.domain.BusPartnerClinic;
import org.dromara.germbank.domain.vo.BusApplicationResourceVo;
import org.dromara.germbank.domain.vo.BusPartnerClinicVo;


/**
 * 资源合作 数据层
 *
 * @author congxing
 */
@Mapper
public interface BusApplicationResourceMapper extends BaseMapperPlus<BusApplicationResource, BusApplicationResourceVo> {

    /**
     * 分页查询资源列表，并进行数据权限控制
     *
     * @param page         分页参数
     * @param queryWrapper 查询条件
     * @return 分页的用户信息
     */
    default Page<BusApplicationResourceVo> queryPageList(Page<BusApplicationResource> page, Wrapper<BusApplicationResource> queryWrapper){
        return this.selectVoPage(page, queryWrapper);
    }
}
